package com.jic.market.response.rest.groupon;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author xuyongliang
 * @version V1.0
 * @className GrouponDetailResponse
 * @description TODO
 * @date 2020/4/2
 */


@ApiModel(description = "拼团详情H5返回类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LaunchGrouponDetailResponse implements Serializable {

    private static final long serialVersionUID = -5985542740237251472L;

    @ApiModelProperty(notes = "第三方商品编码")
    private String thirdProductCode;

    @ApiModelProperty(notes = "成团总人数")
    private Integer totalMembers;

    @ApiModelProperty(notes = "已参团人数")
    private Integer joinedMembers;

    @ApiModelProperty(notes = "开团时间")
    private Long launchTime;

    @ApiModelProperty(notes = "关团时间")
    private Long expireTime;

    @ApiModelProperty(notes = "拼团实例编号")
    private String grouponInstCode;

    @ApiModelProperty(notes = "拼团活动编号")
    private String groupCode;

    @ApiModelProperty(notes = "团单状态：2：组团中 3： 已成团 4：组团失败")
    private Integer status;

    @ApiModelProperty(notes = "支付状态：0未支付，1已支付， 2已失效")
    private Integer paymentStatus;

    @ApiModelProperty(notes = "拼团实例详情列表")
    private List<GrouponInstDetailResp> grouponInstDetailList;
}
